const routers = [
    {
        path: '/',
        name:'home',
        meta:{
            keepAlive : true
        },
        component: (resolve) => require(['./views/Home.vue'], resolve)
    },
    {
        path: '/home/dy',
        name:'homeitemdy',
        meta:{
            keepAlive : true
        },
        component: () => import('./views/HomeItemDY.vue'),
    },
    {
        path: '/home/tv',
        name:'homeitemtv',
        meta:{
            keepAlive : true
        },
        component: () => import('./views/HomeItemTV.vue'),
    },
    {
        path: '/home/ZY',
        name:'homeitemzy',
        meta:{
            keepAlive : true
        },
        component: () => import('./views/HomeItemZY.vue'),
    },
    {
        path: '/list',
        name:'list',
        component: (resolve) => require(['./views/List.vue'], resolve)
    },
    {
        path: '/ranklist',
        name:'ranklist',
        component: (resolve) => require(['./views/RankList.vue'], resolve)
    },
    {
        path: '/detail/:id',
        name:'detail',
        component: (resolve) => require(['./views/Detail.vue'], resolve)
    },
    {
        path: '/player',
        name:'player',
        component: (resolve) => require(['./views/Player.vue'], resolve)
    },
    {
        path: '/history',
        name:'history',
        component: (resolve) => require(['./views/History.vue'], resolve)
    },
    {
        path: '/cache',
        name:'cache',
        component: (resolve) => require(['./views/Cache.vue'], resolve)
    },
    {
        path: '/collect',
        name:'collect',
        component: (resolve) => require(['./views/Collect.vue'], resolve)
    }
    
];
export default routers;